# Contributor: Alex Yam <alex@alexyam.com>
# Maintainer: Alex Yam <alex@alexyam.com>
pkgname=py3-bookkeeper
pkgver=4.14.3
pkgrel=0
pkgdesc="Python client for Apache Bookkeeper"
url="https://github.com/apache/bookkeeper"
arch="noarch"
license="Apache-2.0"
depends="python3"
makedepends="py3-setuptools"
options="!check" # test requires bookkeeper server
source="bookkeeper-release-$pkgver.tar.gz::https://github.com/apache/bookkeeper/archive/refs/tags/release-$pkgver.tar.gz"
builddir="$srcdir/bookkeeper-release-$pkgver/stream/clients/python"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --root="$pkgdir"
}

sha512sums="
47e1ce97a804a972ebab93844f800756a60f136e9087ad94b8faa6943fb064b372cfbd543ee0e337f302d8a48966d5bc3e53ead699e3010d9e2346e79c12a392  bookkeeper-release-4.14.3.tar.gz
"
